<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
class jsonAction extends BackAction{
    
    /**
     * 获取标签
     */
    function actionTag(){
        $weibo_id   = $this->params['weibo_id'];
        if(!$weibo_id){
            echo 'error';
            exit;
        }
        
        $login = new WeiboLogin('weibo19882@126.com', 'dehua2011', '3_5bc5bf3d3fa09492e806daaee0f9754092ae315a', 'ca40', '2388412533');
        $re = $login->showTag('1740292044');
        if(is_array($re)){
            echo implode(',', $re);
            exit;
        }else{
            echo 'error';
        }        
    }
}
?>
